package test.excel;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.wan.data.resource.model.IModel;

import java.util.Arrays;

/**
 * @author wwh
 * @date 2022/7/5 19:56
 */
public class Wan implements IModel<Integer> {

    private int id;
    private int ageBegin;
    private String time;
    private int[] arr;
    private JSONObject json;
    private JSONArray jsonArr;

    public int getId() {
        return id;
    }

    public int getAgeBegin() {
        return ageBegin;
    }

    public String getTime() {
        return time;
    }

    public int[] getArr() {
        return arr;
    }

    public JSONObject getJson() {
        return json;
    }

    public JSONArray getJsonArr() {
        return jsonArr;
    }

    @Override
    public String toString() {
        return "Wan{" +
                "id=" + id +
                ", ageBegin=" + ageBegin +
                ", time='" + time + '\'' +
                ", arr=" + Arrays.toString(arr) +
                ", json=" + json +
                ", jsonArr=" + jsonArr +
                '}';
    }

    @Override
    public Integer getID() {
        return id;
    }
}
